package org.dreamwork.tools.code.analyzer.core.service;

import org.dreamwork.tools.code.analyzer.core.data.Entity;

import java.sql.SQLException;
import java.util.List;

public interface IEntityService extends IBaseService {
    List<Entity> loadAllProjects ();
    List<Entity> loadAllModules (String projectId);
    void saveOrUpdate (Entity entity);

    void save (Entity project, List<Entity> modules);

    void statistic (Entity entity) throws SQLException;
    void clear (Entity entity) throws SQLException;
}
